package com.tencent.stat;

import android.content.ContentValues;
import android.content.Context;
import android.database.DatabaseUtils;
import android.database.sqlite.SQLiteDatabase;
import com.tencent.stat.common.DeviceInfo;
import com.tencent.stat.common.StatCommonHelper;
import com.tencent.stat.common.StatLogger;
import com.tencent.stat.common.StatPreferences;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.ConcurrentHashMap;

public class aw
{
  private static StatLogger h = StatCommonHelper.getLogger();
  private static Context i = null;
  private static aw j = null;
  volatile int a = 0;
  DeviceInfo b = null;
  private be c = null;
  private be d = null;
  private com.tencent.stat.common.e e = null;
  private String f = "";
  private String g = "";
  private int k = 0;
  private ConcurrentHashMap l = null;
  private boolean m = false;
  private HashMap n = new HashMap();

  private aw(Context paramContext)
  {
    try
    {
      this.e = new com.tencent.stat.common.e();
      i = paramContext.getApplicationContext();
      this.l = new ConcurrentHashMap();
      this.f = StatCommonHelper.getDatabaseName(paramContext);
      this.g = "pri_" + StatCommonHelper.getDatabaseName(paramContext);
      this.c = new be(i, this.f);
      this.d = new be(i, this.g);
      a(true);
      a(false);
      f();
      b(i);
      d();
      j();
      return;
    }
    catch (Throwable paramContext)
    {
      h.e(paramContext);
    }
  }

  public static aw a(Context paramContext)
  {
    if (j == null)
      monitorenter;
    try
    {
      if (j == null)
        j = new aw(paramContext);
      return j;
    }
    finally
    {
      monitorexit;
    }
  }

  private String a(String paramString)
  {
    return "tencent_mta_sp_" + paramString;
  }

  private String a(List paramList)
  {
    StringBuilder localStringBuilder = new StringBuilder(paramList.size() * 3);
    localStringBuilder.append("event_id in (");
    int i2 = paramList.size();
    paramList = paramList.iterator();
    int i1 = 0;
    while (paramList.hasNext())
    {
      localStringBuilder.append(((bf)paramList.next()).a);
      if (i1 != i2 - 1)
        localStringBuilder.append(",");
      i1 += 1;
    }
    localStringBuilder.append(")");
    return localStringBuilder.toString();
  }

  private void a(int paramInt, boolean paramBoolean)
  {
    label24: ArrayList localArrayList;
    monitorenter;
    try
    {
      if ((this.a > 0) && (paramInt > 0))
      {
        boolean bool = StatServiceImpl.a();
        if (!(bool))
          break label24;
      }
      do
      {
        return;
        if (StatConfig.isDebugEnable())
          h.i("Load " + this.a + " unsent events");
        localArrayList = new ArrayList(paramInt);
        b(localArrayList, paramInt, paramBoolean);
      }
      while (localArrayList.size() <= 0);
      if (StatConfig.isDebugEnable())
        h.i("Peek " + localArrayList.size() + " unsent events.");
      a(localArrayList, 2, paramBoolean);
    }
    catch (Throwable localThrowable)
    {
    }
    finally
    {
      monitorexit;
    }
  }

  private void a(Context paramContext, String paramString, int paramInt, long paramLong)
  {
    StatPreferences.putString(paramContext, a("uid"), paramString);
    StatPreferences.putInt(paramContext, a("user_type"), paramInt);
    StatPreferences.putString(paramContext, a("app_ver"), StatCommonHelper.getAppVersion(paramContext));
    StatPreferences.putLong(paramContext, a("ts"), paramLong);
  }

  // ERROR //
  private void a(com.tencent.stat.event.e parame, StatDispatchCallback paramStatDispatchCallback, boolean paramBoolean)
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore 9
    //   3: aconst_null
    //   4: astore 8
    //   6: aload_0
    //   7: iload_3
    //   8: invokespecial 269	com/tencent/stat/aw:c	(Z)Landroid/database/sqlite/SQLiteDatabase;
    //   11: astore 10
    //   13: aload 10
    //   15: astore 8
    //   17: aload 10
    //   19: astore 9
    //   21: aload 10
    //   23: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   26: iload_3
    //   27: ifne +72 -> 99
    //   30: aload 10
    //   32: astore 8
    //   34: aload 10
    //   36: astore 9
    //   38: aload_0
    //   39: getfield 64	com/tencent/stat/aw:a	I
    //   42: invokestatic 277	com/tencent/stat/StatConfig:getMaxStoreEventCount	()I
    //   45: if_icmple +54 -> 99
    //   48: aload 10
    //   50: astore 8
    //   52: aload 10
    //   54: astore 9
    //   56: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   59: ldc_w 279
    //   62: invokevirtual 282	com/tencent/stat/common/StatLogger:warn	(Ljava/lang/Object;)V
    //   65: aload 10
    //   67: astore 8
    //   69: aload 10
    //   71: astore 9
    //   73: aload_0
    //   74: aload_0
    //   75: getfield 64	com/tencent/stat/aw:a	I
    //   78: aload_0
    //   79: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   82: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   85: ldc_w 288
    //   88: ldc_w 290
    //   91: aconst_null
    //   92: invokevirtual 294	android/database/sqlite/SQLiteDatabase:delete	(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
    //   95: isub
    //   96: putfield 64	com/tencent/stat/aw:a	I
    //   99: aload 10
    //   101: astore 8
    //   103: aload 10
    //   105: astore 9
    //   107: new 296	android/content/ContentValues
    //   110: dup
    //   111: invokespecial 297	android/content/ContentValues:<init>	()V
    //   114: astore 11
    //   116: aload 10
    //   118: astore 8
    //   120: aload 10
    //   122: astore 9
    //   124: aload_1
    //   125: invokevirtual 301	com/tencent/stat/event/e:g	()Ljava/lang/String;
    //   128: astore 12
    //   130: aload 10
    //   132: astore 8
    //   134: aload 10
    //   136: astore 9
    //   138: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   141: ifeq +35 -> 176
    //   144: aload 10
    //   146: astore 8
    //   148: aload 10
    //   150: astore 9
    //   152: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   155: new 95	java/lang/StringBuilder
    //   158: dup
    //   159: ldc_w 303
    //   162: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   165: aload 12
    //   167: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   170: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   173: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   176: aload 10
    //   178: astore 8
    //   180: aload 10
    //   182: astore 9
    //   184: aload 11
    //   186: ldc_w 305
    //   189: aload 12
    //   191: invokestatic 310	com/tencent/stat/common/Util:encode	(Ljava/lang/String;)Ljava/lang/String;
    //   194: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   197: aload 10
    //   199: astore 8
    //   201: aload 10
    //   203: astore 9
    //   205: aload 11
    //   207: ldc_w 316
    //   210: ldc_w 318
    //   213: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   216: aload 10
    //   218: astore 8
    //   220: aload 10
    //   222: astore 9
    //   224: aload 11
    //   226: ldc_w 320
    //   229: iconst_1
    //   230: invokestatic 325	java/lang/Integer:toString	(I)Ljava/lang/String;
    //   233: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   236: aload 10
    //   238: astore 8
    //   240: aload 10
    //   242: astore 9
    //   244: aload 11
    //   246: ldc_w 327
    //   249: aload_1
    //   250: invokevirtual 330	com/tencent/stat/event/e:c	()J
    //   253: invokestatic 336	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   256: invokevirtual 339	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Long;)V
    //   259: aload 10
    //   261: astore 8
    //   263: aload 10
    //   265: astore 9
    //   267: aload 10
    //   269: ldc_w 288
    //   272: aconst_null
    //   273: aload 11
    //   275: invokevirtual 343	android/database/sqlite/SQLiteDatabase:insert	(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
    //   278: lstore 4
    //   280: aload 10
    //   282: astore 8
    //   284: aload 10
    //   286: astore 9
    //   288: aload 10
    //   290: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   293: lload 4
    //   295: lstore 6
    //   297: aload 10
    //   299: ifnull +202 -> 501
    //   302: aload 10
    //   304: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   307: aload 10
    //   309: invokevirtual 352	android/database/sqlite/SQLiteDatabase:close	()V
    //   312: lload 4
    //   314: lconst_0
    //   315: lcmp
    //   316: ifle +158 -> 474
    //   319: aload_0
    //   320: aload_0
    //   321: getfield 64	com/tencent/stat/aw:a	I
    //   324: iconst_1
    //   325: iadd
    //   326: putfield 64	com/tencent/stat/aw:a	I
    //   329: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   332: ifeq +29 -> 361
    //   335: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   338: new 95	java/lang/StringBuilder
    //   341: dup
    //   342: ldc_w 354
    //   345: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   348: aload_1
    //   349: invokevirtual 301	com/tencent/stat/event/e:g	()Ljava/lang/String;
    //   352: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   355: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   358: invokevirtual 356	com/tencent/stat/common/StatLogger:d	(Ljava/lang/Object;)V
    //   361: aload_2
    //   362: ifnull +9 -> 371
    //   365: aload_2
    //   366: invokeinterface 361 1 0
    //   371: return
    //   372: astore 8
    //   374: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   377: aload 8
    //   379: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   382: goto -70 -> 312
    //   385: astore 10
    //   387: ldc2_w 362
    //   390: lstore 6
    //   392: aload 8
    //   394: astore 9
    //   396: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   399: aload 10
    //   401: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   404: aload 8
    //   406: ifnull +95 -> 501
    //   409: aload 8
    //   411: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   414: aload 8
    //   416: invokevirtual 352	android/database/sqlite/SQLiteDatabase:close	()V
    //   419: ldc2_w 362
    //   422: lstore 4
    //   424: goto -112 -> 312
    //   427: astore 8
    //   429: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   432: aload 8
    //   434: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   437: ldc2_w 362
    //   440: lstore 4
    //   442: goto -130 -> 312
    //   445: astore_1
    //   446: aload 9
    //   448: ifnull +13 -> 461
    //   451: aload 9
    //   453: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   456: aload 9
    //   458: invokevirtual 352	android/database/sqlite/SQLiteDatabase:close	()V
    //   461: aload_1
    //   462: athrow
    //   463: astore_2
    //   464: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   467: aload_2
    //   468: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   471: goto -10 -> 461
    //   474: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   477: new 95	java/lang/StringBuilder
    //   480: dup
    //   481: ldc_w 365
    //   484: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   487: aload_1
    //   488: invokevirtual 301	com/tencent/stat/event/e:g	()Ljava/lang/String;
    //   491: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   494: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   497: invokevirtual 368	com/tencent/stat/common/StatLogger:error	(Ljava/lang/Object;)V
    //   500: return
    //   501: lload 6
    //   503: lstore 4
    //   505: goto -193 -> 312
    //
    // Exception table:
    //   from	to	target	type
    //   302	312	372	java/lang/Throwable
    //   6	13	385	java/lang/Throwable
    //   21	26	385	java/lang/Throwable
    //   38	48	385	java/lang/Throwable
    //   56	65	385	java/lang/Throwable
    //   73	99	385	java/lang/Throwable
    //   107	116	385	java/lang/Throwable
    //   124	130	385	java/lang/Throwable
    //   138	144	385	java/lang/Throwable
    //   152	176	385	java/lang/Throwable
    //   184	197	385	java/lang/Throwable
    //   205	216	385	java/lang/Throwable
    //   224	236	385	java/lang/Throwable
    //   244	259	385	java/lang/Throwable
    //   267	280	385	java/lang/Throwable
    //   288	293	385	java/lang/Throwable
    //   409	419	427	java/lang/Throwable
    //   6	13	445	finally
    //   21	26	445	finally
    //   38	48	445	finally
    //   56	65	445	finally
    //   73	99	445	finally
    //   107	116	445	finally
    //   124	130	445	finally
    //   138	144	445	finally
    //   152	176	445	finally
    //   184	197	445	finally
    //   205	216	445	finally
    //   224	236	445	finally
    //   244	259	445	finally
    //   267	280	445	finally
    //   288	293	445	finally
    //   396	404	445	finally
    //   451	461	463	java/lang/Throwable
  }

  // ERROR //
  private void a(List paramList, int paramInt, boolean paramBoolean)
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore 8
    //   3: aconst_null
    //   4: astore 7
    //   6: aload_0
    //   7: monitorenter
    //   8: aload_1
    //   9: invokeinterface 143 1 0
    //   14: istore 4
    //   16: iload 4
    //   18: ifne +6 -> 24
    //   21: aload_0
    //   22: monitorexit
    //   23: return
    //   24: aload_0
    //   25: iload_3
    //   26: invokespecial 371	com/tencent/stat/aw:b	(Z)I
    //   29: istore 4
    //   31: aload_0
    //   32: iload_3
    //   33: invokespecial 269	com/tencent/stat/aw:c	(Z)Landroid/database/sqlite/SQLiteDatabase;
    //   36: astore 6
    //   38: iload_2
    //   39: iconst_2
    //   40: if_icmpne +192 -> 232
    //   43: aload 6
    //   45: astore 5
    //   47: new 95	java/lang/StringBuilder
    //   50: dup
    //   51: ldc_w 373
    //   54: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   57: iload_2
    //   58: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   61: ldc_w 375
    //   64: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   67: aload_0
    //   68: aload_1
    //   69: invokespecial 377	com/tencent/stat/aw:a	(Ljava/util/List;)Ljava/lang/String;
    //   72: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   75: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   78: astore 8
    //   80: aload 7
    //   82: astore_1
    //   83: aload 8
    //   85: astore 7
    //   87: aload 6
    //   89: astore 5
    //   91: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   94: ifeq +31 -> 125
    //   97: aload 6
    //   99: astore 5
    //   101: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   104: new 95	java/lang/StringBuilder
    //   107: dup
    //   108: ldc_w 379
    //   111: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   114: aload 7
    //   116: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   119: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   122: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   125: aload 6
    //   127: astore 5
    //   129: aload 6
    //   131: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   134: aload 6
    //   136: astore 5
    //   138: aload 6
    //   140: aload 7
    //   142: invokevirtual 382	android/database/sqlite/SQLiteDatabase:execSQL	(Ljava/lang/String;)V
    //   145: aload_1
    //   146: ifnull +48 -> 194
    //   149: aload 6
    //   151: astore 5
    //   153: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   156: new 95	java/lang/StringBuilder
    //   159: dup
    //   160: ldc_w 384
    //   163: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   166: aload_1
    //   167: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   170: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   173: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   176: aload 6
    //   178: astore 5
    //   180: aload 6
    //   182: aload_1
    //   183: invokevirtual 382	android/database/sqlite/SQLiteDatabase:execSQL	(Ljava/lang/String;)V
    //   186: aload 6
    //   188: astore 5
    //   190: aload_0
    //   191: invokespecial 118	com/tencent/stat/aw:f	()V
    //   194: aload 6
    //   196: astore 5
    //   198: aload 6
    //   200: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   203: aload 6
    //   205: ifnull -184 -> 21
    //   208: aload 6
    //   210: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   213: goto -192 -> 21
    //   216: astore_1
    //   217: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   220: aload_1
    //   221: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   224: goto -203 -> 21
    //   227: astore_1
    //   228: aload_0
    //   229: monitorexit
    //   230: aload_1
    //   231: athrow
    //   232: aload 6
    //   234: astore 5
    //   236: new 95	java/lang/StringBuilder
    //   239: dup
    //   240: ldc_w 373
    //   243: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   246: iload_2
    //   247: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   250: ldc_w 386
    //   253: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   256: aload_0
    //   257: aload_1
    //   258: invokespecial 377	com/tencent/stat/aw:a	(Ljava/util/List;)Ljava/lang/String;
    //   261: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   264: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   267: astore 7
    //   269: aload 8
    //   271: astore_1
    //   272: aload 6
    //   274: astore 5
    //   276: aload_0
    //   277: getfield 68	com/tencent/stat/aw:k	I
    //   280: iconst_3
    //   281: irem
    //   282: ifne +26 -> 308
    //   285: aload 6
    //   287: astore 5
    //   289: new 95	java/lang/StringBuilder
    //   292: dup
    //   293: ldc_w 388
    //   296: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   299: iload 4
    //   301: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   304: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   307: astore_1
    //   308: aload 6
    //   310: astore 5
    //   312: aload_0
    //   313: aload_0
    //   314: getfield 68	com/tencent/stat/aw:k	I
    //   317: iconst_1
    //   318: iadd
    //   319: putfield 68	com/tencent/stat/aw:k	I
    //   322: goto -235 -> 87
    //   325: astore_1
    //   326: aload 6
    //   328: astore 5
    //   330: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   333: aload_1
    //   334: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   337: aload 6
    //   339: ifnull -318 -> 21
    //   342: aload 6
    //   344: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   347: goto -326 -> 21
    //   350: astore_1
    //   351: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   354: aload_1
    //   355: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   358: goto -337 -> 21
    //   361: astore_1
    //   362: aconst_null
    //   363: astore 5
    //   365: aload 5
    //   367: ifnull +8 -> 375
    //   370: aload 5
    //   372: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   375: aload_1
    //   376: athrow
    //   377: astore 5
    //   379: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   382: aload 5
    //   384: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   387: goto -12 -> 375
    //   390: astore_1
    //   391: goto -26 -> 365
    //   394: astore_1
    //   395: aconst_null
    //   396: astore 6
    //   398: goto -72 -> 326
    //
    // Exception table:
    //   from	to	target	type
    //   208	213	216	java/lang/Throwable
    //   8	16	227	finally
    //   24	31	227	finally
    //   208	213	227	finally
    //   217	224	227	finally
    //   342	347	227	finally
    //   351	358	227	finally
    //   370	375	227	finally
    //   375	377	227	finally
    //   379	387	227	finally
    //   47	80	325	java/lang/Throwable
    //   91	97	325	java/lang/Throwable
    //   101	125	325	java/lang/Throwable
    //   129	134	325	java/lang/Throwable
    //   138	145	325	java/lang/Throwable
    //   153	176	325	java/lang/Throwable
    //   180	186	325	java/lang/Throwable
    //   190	194	325	java/lang/Throwable
    //   198	203	325	java/lang/Throwable
    //   236	269	325	java/lang/Throwable
    //   276	285	325	java/lang/Throwable
    //   289	308	325	java/lang/Throwable
    //   312	322	325	java/lang/Throwable
    //   342	347	350	java/lang/Throwable
    //   31	38	361	finally
    //   370	375	377	java/lang/Throwable
    //   47	80	390	finally
    //   91	97	390	finally
    //   101	125	390	finally
    //   129	134	390	finally
    //   138	145	390	finally
    //   153	176	390	finally
    //   180	186	390	finally
    //   190	194	390	finally
    //   198	203	390	finally
    //   236	269	390	finally
    //   276	285	390	finally
    //   289	308	390	finally
    //   312	322	390	finally
    //   330	337	390	finally
    //   31	38	394	java/lang/Throwable
  }

  // ERROR //
  private void a(List paramList, boolean paramBoolean)
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore 5
    //   3: aconst_null
    //   4: astore 6
    //   6: aload_0
    //   7: monitorenter
    //   8: aload_1
    //   9: invokeinterface 143 1 0
    //   14: istore_3
    //   15: iload_3
    //   16: ifne +6 -> 22
    //   19: aload_0
    //   20: monitorexit
    //   21: return
    //   22: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   25: ifeq +41 -> 66
    //   28: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   31: new 95	java/lang/StringBuilder
    //   34: dup
    //   35: ldc_w 390
    //   38: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   41: aload_1
    //   42: invokeinterface 143 1 0
    //   47: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   50: ldc_w 392
    //   53: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   56: iload_2
    //   57: invokevirtual 395	java/lang/StringBuilder:append	(Z)Ljava/lang/StringBuilder;
    //   60: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   63: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   66: new 95	java/lang/StringBuilder
    //   69: dup
    //   70: aload_1
    //   71: invokeinterface 143 1 0
    //   76: iconst_3
    //   77: imul
    //   78: invokespecial 146	java/lang/StringBuilder:<init>	(I)V
    //   81: astore 7
    //   83: aload 7
    //   85: ldc 148
    //   87: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   90: pop
    //   91: aload_1
    //   92: invokeinterface 143 1 0
    //   97: istore 4
    //   99: aload_1
    //   100: invokeinterface 152 1 0
    //   105: astore_1
    //   106: iconst_0
    //   107: istore_3
    //   108: aload_1
    //   109: invokeinterface 158 1 0
    //   114: ifeq +40 -> 154
    //   117: aload 7
    //   119: aload_1
    //   120: invokeinterface 162 1 0
    //   125: checkcast 164	com/tencent/stat/bf
    //   128: getfield 167	com/tencent/stat/bf:a	J
    //   131: invokevirtual 170	java/lang/StringBuilder:append	(J)Ljava/lang/StringBuilder;
    //   134: pop
    //   135: iload_3
    //   136: iload 4
    //   138: iconst_1
    //   139: isub
    //   140: if_icmpeq +264 -> 404
    //   143: aload 7
    //   145: ldc 172
    //   147: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   150: pop
    //   151: goto +253 -> 404
    //   154: aload 7
    //   156: ldc 174
    //   158: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   161: pop
    //   162: aload 6
    //   164: astore_1
    //   165: aload_0
    //   166: iload_2
    //   167: invokespecial 269	com/tencent/stat/aw:c	(Z)Landroid/database/sqlite/SQLiteDatabase;
    //   170: astore 6
    //   172: aload 6
    //   174: astore_1
    //   175: aload 6
    //   177: astore 5
    //   179: aload 6
    //   181: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   184: aload 6
    //   186: astore_1
    //   187: aload 6
    //   189: astore 5
    //   191: aload 6
    //   193: ldc_w 288
    //   196: aload 7
    //   198: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   201: aconst_null
    //   202: invokevirtual 294	android/database/sqlite/SQLiteDatabase:delete	(Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;)I
    //   205: istore_3
    //   206: aload 6
    //   208: astore_1
    //   209: aload 6
    //   211: astore 5
    //   213: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   216: ifeq +58 -> 274
    //   219: aload 6
    //   221: astore_1
    //   222: aload 6
    //   224: astore 5
    //   226: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   229: new 95	java/lang/StringBuilder
    //   232: dup
    //   233: ldc_w 397
    //   236: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   239: iload 4
    //   241: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   244: ldc_w 399
    //   247: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   250: aload 7
    //   252: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   255: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   258: ldc_w 401
    //   261: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   264: iload_3
    //   265: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   268: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   271: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   274: aload 6
    //   276: astore_1
    //   277: aload 6
    //   279: astore 5
    //   281: aload_0
    //   282: aload_0
    //   283: getfield 64	com/tencent/stat/aw:a	I
    //   286: iload_3
    //   287: isub
    //   288: putfield 64	com/tencent/stat/aw:a	I
    //   291: aload 6
    //   293: astore_1
    //   294: aload 6
    //   296: astore 5
    //   298: aload 6
    //   300: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   303: aload 6
    //   305: astore_1
    //   306: aload 6
    //   308: astore 5
    //   310: aload_0
    //   311: invokespecial 118	com/tencent/stat/aw:f	()V
    //   314: aload 6
    //   316: ifnull -297 -> 19
    //   319: aload 6
    //   321: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   324: goto -305 -> 19
    //   327: astore_1
    //   328: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   331: aload_1
    //   332: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   335: goto -316 -> 19
    //   338: astore_1
    //   339: aload_0
    //   340: monitorexit
    //   341: aload_1
    //   342: athrow
    //   343: astore 6
    //   345: aload_1
    //   346: astore 5
    //   348: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   351: aload 6
    //   353: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   356: aload_1
    //   357: ifnull -338 -> 19
    //   360: aload_1
    //   361: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   364: goto -345 -> 19
    //   367: astore_1
    //   368: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   371: aload_1
    //   372: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   375: goto -356 -> 19
    //   378: astore_1
    //   379: aload 5
    //   381: ifnull +8 -> 389
    //   384: aload 5
    //   386: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   389: aload_1
    //   390: athrow
    //   391: astore 5
    //   393: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   396: aload 5
    //   398: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   401: goto -12 -> 389
    //   404: iload_3
    //   405: iconst_1
    //   406: iadd
    //   407: istore_3
    //   408: goto -300 -> 108
    //
    // Exception table:
    //   from	to	target	type
    //   319	324	327	java/lang/Throwable
    //   8	15	338	finally
    //   22	66	338	finally
    //   66	106	338	finally
    //   108	135	338	finally
    //   143	151	338	finally
    //   154	162	338	finally
    //   319	324	338	finally
    //   328	335	338	finally
    //   360	364	338	finally
    //   368	375	338	finally
    //   384	389	338	finally
    //   389	391	338	finally
    //   393	401	338	finally
    //   165	172	343	java/lang/Throwable
    //   179	184	343	java/lang/Throwable
    //   191	206	343	java/lang/Throwable
    //   213	219	343	java/lang/Throwable
    //   226	274	343	java/lang/Throwable
    //   281	291	343	java/lang/Throwable
    //   298	303	343	java/lang/Throwable
    //   310	314	343	java/lang/Throwable
    //   360	364	367	java/lang/Throwable
    //   165	172	378	finally
    //   179	184	378	finally
    //   191	206	378	finally
    //   213	219	378	finally
    //   226	274	378	finally
    //   281	291	378	finally
    //   298	303	378	finally
    //   310	314	378	finally
    //   348	356	378	finally
    //   384	389	391	java/lang/Throwable
  }

  private void a(boolean paramBoolean)
  {
    Object localObject3 = null;
    Object localObject1 = null;
    try
    {
      SQLiteDatabase localSQLiteDatabase = c(paramBoolean);
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      localSQLiteDatabase.beginTransaction();
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      ContentValues localContentValues = new ContentValues();
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      localContentValues.put("status", Integer.valueOf(1));
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      int i1 = localSQLiteDatabase.update("events", localContentValues, "status=?", new String[] { Long.toString(2L) });
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      if (StatConfig.isDebugEnable())
      {
        localObject1 = localSQLiteDatabase;
        localObject3 = localSQLiteDatabase;
        h.i("update " + i1 + " unsent events.");
      }
      localObject1 = localSQLiteDatabase;
      localObject3 = localSQLiteDatabase;
      try
      {
        localSQLiteDatabase.endTransaction();
        return;
      }
      catch (Throwable localThrowable1)
      {
        h.e(localThrowable1);
        return;
      }
    }
    catch (Throwable localThrowable4)
    {
      localObject3 = localThrowable1;
      try
      {
        localThrowable1.endTransaction();
        return;
      }
      catch (Throwable localThrowable2)
      {
        h.e(localThrowable2);
        return;
      }
    }
    finally
    {
      if (localObject3 != null);
      try
      {
        localObject3.endTransaction();
        throw localObject2;
      }
      catch (Throwable localThrowable3)
      {
        h.e(localThrowable3);
      }
    }
  }

  private int b(boolean paramBoolean)
  {
    if (!(paramBoolean))
      return StatConfig.getMaxSendRetryCount();
    return StatConfig.getMaxImportantDataSendRetryCount();
  }

  public static aw b()
  {
    return j;
  }

  private void b(int paramInt, boolean paramBoolean)
  {
    if (paramInt == -1)
      if (!(paramBoolean))
        paramInt = g();
    while (true)
    {
      if (paramInt > 0)
      {
        int i2 = StatConfig.getSendPeriodMinutes() * 60 * StatConfig.getNumEventsCommitPerSec();
        int i1 = paramInt;
        if (paramInt > i2)
        {
          i1 = paramInt;
          if (i2 > 0)
            i1 = i2;
        }
        int i3 = StatConfig.a();
        int i4 = i1 / i3;
        int i5 = i1 % i3;
        if (StatConfig.isDebugEnable())
          h.i("sentStoreEventsByDb sendNumbers=" + i1 + ",important=" + paramBoolean + ",maxSendNumPerFor1Period=" + i2 + ",maxCount=" + i4 + ",restNumbers=" + i5);
        paramInt = 0;
        while (true)
        {
          if (paramInt >= i4)
            break label167;
          a(i3, paramBoolean);
          paramInt += 1;
        }
        paramInt = h();
        continue;
        if (i5 > 0)
          label167: a(i5, paramBoolean);
      }
      return;
    }
  }

  // ERROR //
  private void b(e parame)
  {
    // Byte code:
    //   0: aload_0
    //   1: monitorenter
    //   2: aload_1
    //   3: invokevirtual 459	com/tencent/stat/e:a	()Ljava/lang/String;
    //   6: astore 7
    //   8: aload 7
    //   10: invokestatic 462	com/tencent/stat/common/StatCommonHelper:md5sum	(Ljava/lang/String;)Ljava/lang/String;
    //   13: astore 5
    //   15: new 296	android/content/ContentValues
    //   18: dup
    //   19: invokespecial 297	android/content/ContentValues:<init>	()V
    //   22: astore 8
    //   24: aload 8
    //   26: ldc_w 305
    //   29: aload_1
    //   30: getfield 465	com/tencent/stat/e:b	Lorg/json/JSONObject;
    //   33: invokevirtual 468	org/json/JSONObject:toString	()Ljava/lang/String;
    //   36: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   39: aload 8
    //   41: ldc_w 469
    //   44: aload 5
    //   46: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   49: aload_1
    //   50: aload 5
    //   52: putfield 471	com/tencent/stat/e:c	Ljava/lang/String;
    //   55: aload 8
    //   57: ldc_w 473
    //   60: aload_1
    //   61: getfield 475	com/tencent/stat/e:d	I
    //   64: invokestatic 404	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   67: invokevirtual 407	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Integer;)V
    //   70: aload_0
    //   71: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   74: invokevirtual 478	com/tencent/stat/be:getReadableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   77: ldc_w 480
    //   80: aconst_null
    //   81: aconst_null
    //   82: aconst_null
    //   83: aconst_null
    //   84: aconst_null
    //   85: aconst_null
    //   86: invokevirtual 484	android/database/sqlite/SQLiteDatabase:query	(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    //   89: astore 6
    //   91: aload 6
    //   93: astore 5
    //   95: aload 6
    //   97: invokeinterface 489 1 0
    //   102: ifeq +324 -> 426
    //   105: aload 6
    //   107: astore 5
    //   109: aload 6
    //   111: iconst_0
    //   112: invokeinterface 493 2 0
    //   117: aload_1
    //   118: getfield 494	com/tencent/stat/e:a	I
    //   121: if_icmpne -30 -> 91
    //   124: iconst_1
    //   125: istore_2
    //   126: aload 6
    //   128: astore 5
    //   130: aload_0
    //   131: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   134: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   137: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   140: iconst_1
    //   141: iload_2
    //   142: if_icmpne +116 -> 258
    //   145: aload 6
    //   147: astore 5
    //   149: aload_0
    //   150: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   153: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   156: ldc_w 480
    //   159: aload 8
    //   161: ldc_w 496
    //   164: iconst_1
    //   165: anewarray 411	java/lang/String
    //   168: dup
    //   169: iconst_0
    //   170: aload_1
    //   171: getfield 494	com/tencent/stat/e:a	I
    //   174: invokestatic 325	java/lang/Integer:toString	(I)Ljava/lang/String;
    //   177: aastore
    //   178: invokevirtual 420	android/database/sqlite/SQLiteDatabase:update	(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
    //   181: i2l
    //   182: lstore_3
    //   183: lload_3
    //   184: ldc2_w 362
    //   187: lcmp
    //   188: ifne +113 -> 301
    //   191: aload 6
    //   193: astore 5
    //   195: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   198: new 95	java/lang/StringBuilder
    //   201: dup
    //   202: ldc_w 498
    //   205: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   208: aload 7
    //   210: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   213: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   216: invokevirtual 500	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Object;)V
    //   219: aload 6
    //   221: astore 5
    //   223: aload_0
    //   224: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   227: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   230: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   233: aload 6
    //   235: ifnull +10 -> 245
    //   238: aload 6
    //   240: invokeinterface 501 1 0
    //   245: aload_0
    //   246: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   249: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   252: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   255: aload_0
    //   256: monitorexit
    //   257: return
    //   258: aload 6
    //   260: astore 5
    //   262: aload 8
    //   264: ldc_w 503
    //   267: aload_1
    //   268: getfield 494	com/tencent/stat/e:a	I
    //   271: invokestatic 404	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   274: invokevirtual 407	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Integer;)V
    //   277: aload 6
    //   279: astore 5
    //   281: aload_0
    //   282: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   285: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   288: ldc_w 480
    //   291: aconst_null
    //   292: aload 8
    //   294: invokevirtual 343	android/database/sqlite/SQLiteDatabase:insert	(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
    //   297: lstore_3
    //   298: goto -115 -> 183
    //   301: aload 6
    //   303: astore 5
    //   305: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   308: new 95	java/lang/StringBuilder
    //   311: dup
    //   312: ldc_w 505
    //   315: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   318: aload 7
    //   320: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   323: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   326: invokevirtual 356	com/tencent/stat/common/StatLogger:d	(Ljava/lang/Object;)V
    //   329: goto -110 -> 219
    //   332: astore_1
    //   333: aload 6
    //   335: astore 5
    //   337: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   340: aload_1
    //   341: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   344: aload 6
    //   346: ifnull +10 -> 356
    //   349: aload 6
    //   351: invokeinterface 501 1 0
    //   356: aload_0
    //   357: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   360: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   363: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   366: goto -111 -> 255
    //   369: astore_1
    //   370: goto -115 -> 255
    //   373: astore_1
    //   374: aconst_null
    //   375: astore 5
    //   377: aload 5
    //   379: ifnull +10 -> 389
    //   382: aload 5
    //   384: invokeinterface 501 1 0
    //   389: aload_0
    //   390: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   393: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   396: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   399: aload_1
    //   400: athrow
    //   401: astore_1
    //   402: aload_0
    //   403: monitorexit
    //   404: aload_1
    //   405: athrow
    //   406: astore 5
    //   408: goto -9 -> 399
    //   411: astore_1
    //   412: goto -35 -> 377
    //   415: astore_1
    //   416: aconst_null
    //   417: astore 6
    //   419: goto -86 -> 333
    //   422: astore_1
    //   423: goto -168 -> 255
    //   426: iconst_0
    //   427: istore_2
    //   428: goto -302 -> 126
    //
    // Exception table:
    //   from	to	target	type
    //   95	105	332	java/lang/Throwable
    //   109	124	332	java/lang/Throwable
    //   130	140	332	java/lang/Throwable
    //   149	183	332	java/lang/Throwable
    //   195	219	332	java/lang/Throwable
    //   223	233	332	java/lang/Throwable
    //   262	277	332	java/lang/Throwable
    //   281	298	332	java/lang/Throwable
    //   305	329	332	java/lang/Throwable
    //   356	366	369	java/lang/Exception
    //   2	91	373	finally
    //   238	245	401	finally
    //   245	255	401	finally
    //   349	356	401	finally
    //   356	366	401	finally
    //   382	389	401	finally
    //   389	399	401	finally
    //   399	401	401	finally
    //   389	399	406	java/lang/Exception
    //   95	105	411	finally
    //   109	124	411	finally
    //   130	140	411	finally
    //   149	183	411	finally
    //   195	219	411	finally
    //   223	233	411	finally
    //   262	277	411	finally
    //   281	298	411	finally
    //   305	329	411	finally
    //   337	344	411	finally
    //   2	91	415	java/lang/Throwable
    //   245	255	422	java/lang/Exception
  }

  private void b(com.tencent.stat.event.e parame, StatDispatchCallback paramStatDispatchCallback, boolean paramBoolean1, boolean paramBoolean2)
  {
    monitorenter;
    try
    {
      if (StatConfig.getMaxStoreEventCount() > 0)
      {
        if ((StatConfig.m > 0) && (!(paramBoolean1)) && (!(paramBoolean2)))
          break label33;
        a(parame, paramStatDispatchCallback, paramBoolean1);
      }
      do
      {
        label33: 
        do
          return;
        while (StatConfig.m <= 0);
        if (StatConfig.isDebugEnable())
        {
          h.i("cacheEventsInMemory.size():" + this.l.size() + ",numEventsCachedInMemory:" + StatConfig.m + ",numStoredEvents:" + this.a);
          h.i("cache event:" + parame.g());
        }
        this.l.put(parame, "");
        if (this.l.size() < StatConfig.m)
          continue;
        i();
      }
      while (paramStatDispatchCallback == null);
      if (this.l.size() > 0)
        i();
    }
    finally
    {
      monitorexit;
    }
  }

  // ERROR //
  private void b(List paramList, int paramInt, boolean paramBoolean)
  {
    // Byte code:
    //   0: aload_0
    //   1: iload_3
    //   2: invokespecial 523	com/tencent/stat/aw:d	(Z)Landroid/database/sqlite/SQLiteDatabase;
    //   5: astore 7
    //   7: iconst_1
    //   8: invokestatic 325	java/lang/Integer:toString	(I)Ljava/lang/String;
    //   11: astore 8
    //   13: iload_2
    //   14: invokestatic 325	java/lang/Integer:toString	(I)Ljava/lang/String;
    //   17: astore 9
    //   19: aload 7
    //   21: ldc_w 288
    //   24: aconst_null
    //   25: ldc_w 409
    //   28: iconst_1
    //   29: anewarray 411	java/lang/String
    //   32: dup
    //   33: iconst_0
    //   34: aload 8
    //   36: aastore
    //   37: aconst_null
    //   38: aconst_null
    //   39: aconst_null
    //   40: aload 9
    //   42: invokevirtual 526	android/database/sqlite/SQLiteDatabase:query	(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    //   45: astore 7
    //   47: aload 7
    //   49: invokeinterface 489 1 0
    //   54: ifeq +173 -> 227
    //   57: aload 7
    //   59: iconst_0
    //   60: invokeinterface 530 2 0
    //   65: lstore 5
    //   67: aload 7
    //   69: iconst_1
    //   70: invokeinterface 533 2 0
    //   75: astore 9
    //   77: aload 9
    //   79: astore 8
    //   81: getstatic 535	com/tencent/stat/StatConfig:g	Z
    //   84: ifne +10 -> 94
    //   87: aload 9
    //   89: invokestatic 538	com/tencent/stat/common/Util:decode	(Ljava/lang/String;)Ljava/lang/String;
    //   92: astore 8
    //   94: aload 7
    //   96: iconst_2
    //   97: invokeinterface 493 2 0
    //   102: istore_2
    //   103: aload 7
    //   105: iconst_3
    //   106: invokeinterface 493 2 0
    //   111: istore 4
    //   113: new 164	com/tencent/stat/bf
    //   116: dup
    //   117: lload 5
    //   119: aload 8
    //   121: iload_2
    //   122: iload 4
    //   124: invokespecial 541	com/tencent/stat/bf:<init>	(JLjava/lang/String;II)V
    //   127: astore 8
    //   129: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   132: ifeq +55 -> 187
    //   135: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   138: new 95	java/lang/StringBuilder
    //   141: dup
    //   142: ldc_w 543
    //   145: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   148: lload 5
    //   150: invokevirtual 170	java/lang/StringBuilder:append	(J)Ljava/lang/StringBuilder;
    //   153: ldc_w 545
    //   156: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   159: iload 4
    //   161: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   164: ldc_w 547
    //   167: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   170: aload 7
    //   172: iconst_4
    //   173: invokeinterface 530 2 0
    //   178: invokevirtual 170	java/lang/StringBuilder:append	(J)Ljava/lang/StringBuilder;
    //   181: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   184: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   187: aload_1
    //   188: aload 8
    //   190: invokeinterface 551 2 0
    //   195: pop
    //   196: goto -149 -> 47
    //   199: astore 8
    //   201: aload 7
    //   203: astore_1
    //   204: aload 8
    //   206: astore 7
    //   208: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   211: aload 7
    //   213: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   216: aload_1
    //   217: ifnull +9 -> 226
    //   220: aload_1
    //   221: invokeinterface 501 1 0
    //   226: return
    //   227: aload 7
    //   229: ifnull -3 -> 226
    //   232: aload 7
    //   234: invokeinterface 501 1 0
    //   239: return
    //   240: astore_1
    //   241: aload_1
    //   242: invokevirtual 554	java/lang/Throwable:printStackTrace	()V
    //   245: return
    //   246: astore_1
    //   247: aload_1
    //   248: invokevirtual 554	java/lang/Throwable:printStackTrace	()V
    //   251: return
    //   252: astore_1
    //   253: aconst_null
    //   254: astore 7
    //   256: aload 7
    //   258: ifnull +10 -> 268
    //   261: aload 7
    //   263: invokeinterface 501 1 0
    //   268: aload_1
    //   269: athrow
    //   270: astore 7
    //   272: aload 7
    //   274: invokevirtual 554	java/lang/Throwable:printStackTrace	()V
    //   277: goto -9 -> 268
    //   280: astore_1
    //   281: goto -25 -> 256
    //   284: astore 8
    //   286: aload_1
    //   287: astore 7
    //   289: aload 8
    //   291: astore_1
    //   292: goto -36 -> 256
    //   295: astore 7
    //   297: aconst_null
    //   298: astore_1
    //   299: goto -91 -> 208
    //
    // Exception table:
    //   from	to	target	type
    //   47	77	199	java/lang/Throwable
    //   81	94	199	java/lang/Throwable
    //   94	187	199	java/lang/Throwable
    //   187	196	199	java/lang/Throwable
    //   232	239	240	java/lang/Throwable
    //   220	226	246	java/lang/Throwable
    //   0	47	252	finally
    //   261	268	270	java/lang/Throwable
    //   47	77	280	finally
    //   81	94	280	finally
    //   94	187	280	finally
    //   187	196	280	finally
    //   208	216	284	finally
    //   0	47	295	java/lang/Throwable
  }

  private SQLiteDatabase c(boolean paramBoolean)
  {
    if (!(paramBoolean))
      return this.c.getWritableDatabase();
    return this.d.getWritableDatabase();
  }

  private boolean c(Context paramContext)
  {
    return ((!(StatPreferences.contains(paramContext, a("uid")))) && (!(StatPreferences.contains(paramContext, a("user_type")))) && (!(StatPreferences.contains(paramContext, a("app_ver")))) && (!(StatPreferences.contains(paramContext, a("ts")))));
  }

  private SQLiteDatabase d(boolean paramBoolean)
  {
    if (!(paramBoolean))
      return this.c.getReadableDatabase();
    return this.d.getReadableDatabase();
  }

  private void f()
  {
    this.a = (g() + h());
  }

  private int g()
  {
    return (int)DatabaseUtils.queryNumEntries(this.c.getReadableDatabase(), "events");
  }

  private int h()
  {
    return (int)DatabaseUtils.queryNumEntries(this.d.getReadableDatabase(), "events");
  }

  // ERROR //
  private void i()
  {
    // Byte code:
    //   0: aconst_null
    //   1: astore_2
    //   2: aconst_null
    //   3: astore_1
    //   4: aload_0
    //   5: getfield 72	com/tencent/stat/aw:m	Z
    //   8: ifeq +4 -> 12
    //   11: return
    //   12: aload_0
    //   13: getfield 70	com/tencent/stat/aw:l	Ljava/util/concurrent/ConcurrentHashMap;
    //   16: astore 4
    //   18: aload 4
    //   20: monitorenter
    //   21: aload_0
    //   22: getfield 70	com/tencent/stat/aw:l	Ljava/util/concurrent/ConcurrentHashMap;
    //   25: invokevirtual 512	java/util/concurrent/ConcurrentHashMap:size	()I
    //   28: ifne +13 -> 41
    //   31: aload 4
    //   33: monitorexit
    //   34: return
    //   35: astore_1
    //   36: aload 4
    //   38: monitorexit
    //   39: aload_1
    //   40: athrow
    //   41: aload_0
    //   42: iconst_1
    //   43: putfield 72	com/tencent/stat/aw:m	Z
    //   46: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   49: ifeq +57 -> 106
    //   52: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   55: new 95	java/lang/StringBuilder
    //   58: dup
    //   59: ldc_w 567
    //   62: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   65: aload_0
    //   66: getfield 70	com/tencent/stat/aw:l	Ljava/util/concurrent/ConcurrentHashMap;
    //   69: invokevirtual 512	java/util/concurrent/ConcurrentHashMap:size	()I
    //   72: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   75: ldc_w 569
    //   78: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   81: getstatic 507	com/tencent/stat/StatConfig:m	I
    //   84: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   87: ldc_w 516
    //   90: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   93: aload_0
    //   94: getfield 64	com/tencent/stat/aw:a	I
    //   97: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   100: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   103: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   106: aload_0
    //   107: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   110: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   113: astore_3
    //   114: aload_3
    //   115: astore_1
    //   116: aload_3
    //   117: astore_2
    //   118: aload_3
    //   119: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   122: aload_3
    //   123: astore_1
    //   124: aload_3
    //   125: astore_2
    //   126: aload_0
    //   127: getfield 70	com/tencent/stat/aw:l	Ljava/util/concurrent/ConcurrentHashMap;
    //   130: invokevirtual 573	java/util/concurrent/ConcurrentHashMap:entrySet	()Ljava/util/Set;
    //   133: invokeinterface 576 1 0
    //   138: astore 5
    //   140: aload_3
    //   141: astore_1
    //   142: aload_3
    //   143: astore_2
    //   144: aload 5
    //   146: invokeinterface 158 1 0
    //   151: ifeq +277 -> 428
    //   154: aload_3
    //   155: astore_1
    //   156: aload_3
    //   157: astore_2
    //   158: aload 5
    //   160: invokeinterface 162 1 0
    //   165: checkcast 578	java/util/Map$Entry
    //   168: invokeinterface 581 1 0
    //   173: checkcast 299	com/tencent/stat/event/e
    //   176: astore 6
    //   178: aload_3
    //   179: astore_1
    //   180: aload_3
    //   181: astore_2
    //   182: new 296	android/content/ContentValues
    //   185: dup
    //   186: invokespecial 297	android/content/ContentValues:<init>	()V
    //   189: astore 7
    //   191: aload_3
    //   192: astore_1
    //   193: aload_3
    //   194: astore_2
    //   195: aload 6
    //   197: invokevirtual 301	com/tencent/stat/event/e:g	()Ljava/lang/String;
    //   200: astore 8
    //   202: aload_3
    //   203: astore_1
    //   204: aload_3
    //   205: astore_2
    //   206: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   209: ifeq +31 -> 240
    //   212: aload_3
    //   213: astore_1
    //   214: aload_3
    //   215: astore_2
    //   216: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   219: new 95	java/lang/StringBuilder
    //   222: dup
    //   223: ldc_w 583
    //   226: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   229: aload 8
    //   231: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   234: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   237: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   240: aload_3
    //   241: astore_1
    //   242: aload_3
    //   243: astore_2
    //   244: aload 7
    //   246: ldc_w 305
    //   249: aload 8
    //   251: invokestatic 310	com/tencent/stat/common/Util:encode	(Ljava/lang/String;)Ljava/lang/String;
    //   254: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   257: aload_3
    //   258: astore_1
    //   259: aload_3
    //   260: astore_2
    //   261: aload 7
    //   263: ldc_w 316
    //   266: ldc_w 318
    //   269: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   272: aload_3
    //   273: astore_1
    //   274: aload_3
    //   275: astore_2
    //   276: aload 7
    //   278: ldc_w 320
    //   281: iconst_1
    //   282: invokestatic 325	java/lang/Integer:toString	(I)Ljava/lang/String;
    //   285: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   288: aload_3
    //   289: astore_1
    //   290: aload_3
    //   291: astore_2
    //   292: aload 7
    //   294: ldc_w 327
    //   297: aload 6
    //   299: invokevirtual 330	com/tencent/stat/event/e:c	()J
    //   302: invokestatic 336	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   305: invokevirtual 339	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Long;)V
    //   308: aload_3
    //   309: astore_1
    //   310: aload_3
    //   311: astore_2
    //   312: aload_3
    //   313: ldc_w 288
    //   316: aconst_null
    //   317: aload 7
    //   319: invokevirtual 343	android/database/sqlite/SQLiteDatabase:insert	(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
    //   322: pop2
    //   323: aload_3
    //   324: astore_1
    //   325: aload_3
    //   326: astore_2
    //   327: aload 5
    //   329: invokeinterface 586 1 0
    //   334: goto -194 -> 140
    //   337: astore_3
    //   338: aload_1
    //   339: astore_2
    //   340: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   343: aload_3
    //   344: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   347: aload_1
    //   348: ifnull +11 -> 359
    //   351: aload_1
    //   352: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   355: aload_0
    //   356: invokespecial 118	com/tencent/stat/aw:f	()V
    //   359: aload_0
    //   360: iconst_0
    //   361: putfield 72	com/tencent/stat/aw:m	Z
    //   364: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   367: ifeq +57 -> 424
    //   370: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   373: new 95	java/lang/StringBuilder
    //   376: dup
    //   377: ldc_w 588
    //   380: invokespecial 100	java/lang/StringBuilder:<init>	(Ljava/lang/String;)V
    //   383: aload_0
    //   384: getfield 70	com/tencent/stat/aw:l	Ljava/util/concurrent/ConcurrentHashMap;
    //   387: invokevirtual 512	java/util/concurrent/ConcurrentHashMap:size	()I
    //   390: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   393: ldc_w 514
    //   396: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   399: getstatic 507	com/tencent/stat/StatConfig:m	I
    //   402: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   405: ldc_w 516
    //   408: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   411: aload_0
    //   412: getfield 64	com/tencent/stat/aw:a	I
    //   415: invokevirtual 189	java/lang/StringBuilder:append	(I)Ljava/lang/StringBuilder;
    //   418: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   421: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   424: aload 4
    //   426: monitorexit
    //   427: return
    //   428: aload_3
    //   429: astore_1
    //   430: aload_3
    //   431: astore_2
    //   432: aload_3
    //   433: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   436: aload_3
    //   437: ifnull -78 -> 359
    //   440: aload_3
    //   441: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   444: aload_0
    //   445: invokespecial 118	com/tencent/stat/aw:f	()V
    //   448: goto -89 -> 359
    //   451: astore_1
    //   452: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   455: aload_1
    //   456: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   459: goto -100 -> 359
    //   462: astore_1
    //   463: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   466: aload_1
    //   467: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   470: goto -111 -> 359
    //   473: astore_1
    //   474: aload_2
    //   475: ifnull +11 -> 486
    //   478: aload_2
    //   479: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   482: aload_0
    //   483: invokespecial 118	com/tencent/stat/aw:f	()V
    //   486: aload_1
    //   487: athrow
    //   488: astore_2
    //   489: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   492: aload_2
    //   493: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   496: goto -10 -> 486
    //
    // Exception table:
    //   from	to	target	type
    //   21	34	35	finally
    //   36	39	35	finally
    //   41	106	35	finally
    //   351	359	35	finally
    //   359	424	35	finally
    //   424	427	35	finally
    //   440	448	35	finally
    //   452	459	35	finally
    //   463	470	35	finally
    //   478	486	35	finally
    //   486	488	35	finally
    //   489	496	35	finally
    //   106	114	337	java/lang/Throwable
    //   118	122	337	java/lang/Throwable
    //   126	140	337	java/lang/Throwable
    //   144	154	337	java/lang/Throwable
    //   158	178	337	java/lang/Throwable
    //   182	191	337	java/lang/Throwable
    //   195	202	337	java/lang/Throwable
    //   206	212	337	java/lang/Throwable
    //   216	240	337	java/lang/Throwable
    //   244	257	337	java/lang/Throwable
    //   261	272	337	java/lang/Throwable
    //   276	288	337	java/lang/Throwable
    //   292	308	337	java/lang/Throwable
    //   312	323	337	java/lang/Throwable
    //   327	334	337	java/lang/Throwable
    //   432	436	337	java/lang/Throwable
    //   440	448	451	java/lang/Throwable
    //   351	359	462	java/lang/Throwable
    //   106	114	473	finally
    //   118	122	473	finally
    //   126	140	473	finally
    //   144	154	473	finally
    //   158	178	473	finally
    //   182	191	473	finally
    //   195	202	473	finally
    //   206	212	473	finally
    //   216	240	473	finally
    //   244	257	473	finally
    //   261	272	473	finally
    //   276	288	473	finally
    //   292	308	473	finally
    //   312	323	473	finally
    //   327	334	473	finally
    //   340	347	473	finally
    //   432	436	473	finally
    //   478	486	488	java/lang/Throwable
  }

  // ERROR //
  private void j()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   4: invokevirtual 478	com/tencent/stat/be:getReadableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   7: ldc_w 590
    //   10: aconst_null
    //   11: aconst_null
    //   12: aconst_null
    //   13: aconst_null
    //   14: aconst_null
    //   15: aconst_null
    //   16: invokevirtual 484	android/database/sqlite/SQLiteDatabase:query	(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    //   19: astore_2
    //   20: aload_2
    //   21: astore_1
    //   22: aload_2
    //   23: invokeinterface 489 1 0
    //   28: ifeq +51 -> 79
    //   31: aload_2
    //   32: astore_1
    //   33: aload_0
    //   34: getfield 77	com/tencent/stat/aw:n	Ljava/util/HashMap;
    //   37: aload_2
    //   38: iconst_0
    //   39: invokeinterface 533 2 0
    //   44: aload_2
    //   45: iconst_1
    //   46: invokeinterface 533 2 0
    //   51: invokevirtual 591	java/util/HashMap:put	(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
    //   54: pop
    //   55: goto -35 -> 20
    //   58: astore_3
    //   59: aload_2
    //   60: astore_1
    //   61: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   64: aload_3
    //   65: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   68: aload_2
    //   69: ifnull +9 -> 78
    //   72: aload_2
    //   73: invokeinterface 501 1 0
    //   78: return
    //   79: aload_2
    //   80: ifnull -2 -> 78
    //   83: aload_2
    //   84: invokeinterface 501 1 0
    //   89: return
    //   90: astore_2
    //   91: aconst_null
    //   92: astore_1
    //   93: aload_1
    //   94: ifnull +9 -> 103
    //   97: aload_1
    //   98: invokeinterface 501 1 0
    //   103: aload_2
    //   104: athrow
    //   105: astore_2
    //   106: goto -13 -> 93
    //   109: astore_3
    //   110: aconst_null
    //   111: astore_2
    //   112: goto -53 -> 59
    //
    // Exception table:
    //   from	to	target	type
    //   22	31	58	java/lang/Throwable
    //   33	55	58	java/lang/Throwable
    //   0	20	90	finally
    //   22	31	105	finally
    //   33	55	105	finally
    //   61	68	105	finally
    //   0	20	109	java/lang/Throwable
  }

  public int a()
  {
    return this.a;
  }

  void a(int paramInt)
  {
    this.e.a(new bd(this, paramInt));
  }

  void a(e parame)
  {
    if (parame == null)
      return;
    this.e.a(new bb(this, parame));
  }

  void a(com.tencent.stat.event.e parame, StatDispatchCallback paramStatDispatchCallback, boolean paramBoolean1, boolean paramBoolean2)
  {
    if (this.e == null)
      return;
    this.e.a(new ba(this, parame, paramStatDispatchCallback, paramBoolean1, paramBoolean2));
  }

  void a(List paramList, int paramInt, boolean paramBoolean1, boolean paramBoolean2)
  {
    if (this.e == null)
      return;
    this.e.a(new ax(this, paramList, paramInt, paramBoolean1, paramBoolean2));
  }

  void a(List paramList, boolean paramBoolean1, boolean paramBoolean2)
  {
    if (this.e == null)
      return;
    this.e.a(new ay(this, paramList, paramBoolean1, paramBoolean2));
  }

  // ERROR //
  public DeviceInfo b(Context paramContext)
  {
    // Byte code:
    //   0: aload_0
    //   1: monitorenter
    //   2: aload_0
    //   3: getfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   6: ifnull +12 -> 18
    //   9: aload_0
    //   10: getfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   13: astore_1
    //   14: aload_0
    //   15: monitorexit
    //   16: aload_1
    //   17: areturn
    //   18: aload_0
    //   19: aload_1
    //   20: invokespecial 621	com/tencent/stat/aw:c	(Landroid/content/Context;)Z
    //   23: ifeq +422 -> 445
    //   26: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   29: ifeq +12 -> 41
    //   32: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   35: ldc_w 623
    //   38: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   41: aload_1
    //   42: aload_0
    //   43: ldc 222
    //   45: invokespecial 224	com/tencent/stat/aw:a	(Ljava/lang/String;)Ljava/lang/String;
    //   48: ldc 58
    //   50: invokestatic 626	com/tencent/stat/common/StatPreferences:getString	(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    //   53: astore 15
    //   55: aload 15
    //   57: invokestatic 538	com/tencent/stat/common/Util:decode	(Ljava/lang/String;)Ljava/lang/String;
    //   60: astore 11
    //   62: aload_1
    //   63: aload_0
    //   64: ldc 232
    //   66: invokespecial 224	com/tencent/stat/aw:a	(Ljava/lang/String;)Ljava/lang/String;
    //   69: iconst_1
    //   70: invokestatic 629	com/tencent/stat/common/StatPreferences:getInt	(Landroid/content/Context;Ljava/lang/String;I)I
    //   73: istore 5
    //   75: aload_1
    //   76: aload_0
    //   77: ldc 238
    //   79: invokespecial 224	com/tencent/stat/aw:a	(Ljava/lang/String;)Ljava/lang/String;
    //   82: ldc 58
    //   84: invokestatic 626	com/tencent/stat/common/StatPreferences:getString	(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    //   87: astore 10
    //   89: aload_1
    //   90: aload_0
    //   91: ldc 243
    //   93: invokespecial 224	com/tencent/stat/aw:a	(Ljava/lang/String;)Ljava/lang/String;
    //   96: lconst_0
    //   97: invokestatic 632	com/tencent/stat/common/StatPreferences:getLong	(Landroid/content/Context;Ljava/lang/String;J)J
    //   100: lstore 6
    //   102: invokestatic 637	java/lang/System:currentTimeMillis	()J
    //   105: ldc2_w 638
    //   108: ldiv
    //   109: lstore 8
    //   111: iload 5
    //   113: iconst_1
    //   114: if_icmpeq +1244 -> 1358
    //   117: lload 6
    //   119: ldc2_w 638
    //   122: lmul
    //   123: invokestatic 642	com/tencent/stat/common/StatCommonHelper:getDateFormat	(J)Ljava/lang/String;
    //   126: ldc2_w 638
    //   129: lload 8
    //   131: lmul
    //   132: invokestatic 642	com/tencent/stat/common/StatCommonHelper:getDateFormat	(J)Ljava/lang/String;
    //   135: invokevirtual 645	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   138: ifne +1220 -> 1358
    //   141: iconst_1
    //   142: istore_2
    //   143: iload_2
    //   144: istore_3
    //   145: aload 10
    //   147: aload_1
    //   148: invokestatic 241	com/tencent/stat/common/StatCommonHelper:getAppVersion	(Landroid/content/Context;)Ljava/lang/String;
    //   151: invokevirtual 645	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   154: ifne +7 -> 161
    //   157: iload_2
    //   158: iconst_2
    //   159: ior
    //   160: istore_3
    //   161: aload 11
    //   163: ldc 172
    //   165: invokevirtual 649	java/lang/String:split	(Ljava/lang/String;)[Ljava/lang/String;
    //   168: astore 13
    //   170: aload 13
    //   172: ifnull +180 -> 352
    //   175: aload 13
    //   177: arraylength
    //   178: ifle +174 -> 352
    //   181: aload 13
    //   183: iconst_0
    //   184: aaload
    //   185: astore 10
    //   187: aload 10
    //   189: ifnull +13 -> 202
    //   192: aload 10
    //   194: invokevirtual 652	java/lang/String:length	()I
    //   197: bipush 11
    //   199: if_icmpge +1142 -> 1341
    //   202: aload_1
    //   203: invokestatic 655	com/tencent/stat/common/Util:getDeviceID	(Landroid/content/Context;)Ljava/lang/String;
    //   206: astore 12
    //   208: aload 12
    //   210: ifnull +1126 -> 1336
    //   213: aload 12
    //   215: invokevirtual 652	java/lang/String:length	()I
    //   218: bipush 10
    //   220: if_icmple +1116 -> 1336
    //   223: iconst_1
    //   224: istore_2
    //   225: aload 12
    //   227: astore 10
    //   229: goto +1135 -> 1364
    //   232: aload 13
    //   234: ifnull +133 -> 367
    //   237: aload 13
    //   239: arraylength
    //   240: iconst_2
    //   241: if_icmplt +126 -> 367
    //   244: aload 13
    //   246: iconst_1
    //   247: aaload
    //   248: astore 13
    //   250: new 95	java/lang/StringBuilder
    //   253: dup
    //   254: invokespecial 656	java/lang/StringBuilder:<init>	()V
    //   257: aload 11
    //   259: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   262: ldc 172
    //   264: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   267: aload 13
    //   269: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   272: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   275: astore 12
    //   277: iload_2
    //   278: istore 4
    //   280: aload_0
    //   281: new 658	com/tencent/stat/common/DeviceInfo
    //   284: dup
    //   285: aload 11
    //   287: aload 13
    //   289: iload_3
    //   290: invokespecial 661	com/tencent/stat/common/DeviceInfo:<init>	(Ljava/lang/String;Ljava/lang/String;I)V
    //   293: putfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   296: aload 12
    //   298: invokestatic 310	com/tencent/stat/common/Util:encode	(Ljava/lang/String;)Ljava/lang/String;
    //   301: astore 10
    //   303: iload 4
    //   305: ifeq +23 -> 328
    //   308: aload 10
    //   310: aload 15
    //   312: invokevirtual 645	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   315: ifeq +13 -> 328
    //   318: aload_0
    //   319: aload_1
    //   320: aload 10
    //   322: iload_3
    //   323: lload 8
    //   325: invokespecial 663	com/tencent/stat/aw:a	(Landroid/content/Context;Ljava/lang/String;IJ)V
    //   328: iload_3
    //   329: iload 5
    //   331: if_icmpeq +13 -> 344
    //   334: aload_0
    //   335: aload_1
    //   336: aload 10
    //   338: iload_3
    //   339: lload 8
    //   341: invokespecial 663	com/tencent/stat/aw:a	(Landroid/content/Context;Ljava/lang/String;IJ)V
    //   344: aload_0
    //   345: getfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   348: astore_1
    //   349: goto -335 -> 14
    //   352: aload_1
    //   353: invokestatic 666	com/tencent/stat/common/StatCommonHelper:getUserID	(Landroid/content/Context;)Ljava/lang/String;
    //   356: astore 10
    //   358: aload 10
    //   360: astore 11
    //   362: iconst_1
    //   363: istore_2
    //   364: goto -132 -> 232
    //   367: aload_1
    //   368: invokestatic 669	com/tencent/stat/common/StatCommonHelper:getMacId	(Landroid/content/Context;)Ljava/lang/String;
    //   371: astore 14
    //   373: aload 14
    //   375: astore 13
    //   377: iload_2
    //   378: istore 4
    //   380: aload 10
    //   382: astore 12
    //   384: aload 14
    //   386: ifnull -106 -> 280
    //   389: aload 14
    //   391: astore 13
    //   393: iload_2
    //   394: istore 4
    //   396: aload 10
    //   398: astore 12
    //   400: aload 14
    //   402: invokevirtual 652	java/lang/String:length	()I
    //   405: ifle -125 -> 280
    //   408: new 95	java/lang/StringBuilder
    //   411: dup
    //   412: invokespecial 656	java/lang/StringBuilder:<init>	()V
    //   415: aload 11
    //   417: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   420: ldc 172
    //   422: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   425: aload 14
    //   427: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   430: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   433: astore 12
    //   435: iconst_1
    //   436: istore 4
    //   438: aload 14
    //   440: astore 13
    //   442: goto -162 -> 280
    //   445: aload_0
    //   446: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   449: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   452: invokevirtual 274	android/database/sqlite/SQLiteDatabase:beginTransaction	()V
    //   455: invokestatic 184	com/tencent/stat/StatConfig:isDebugEnable	()Z
    //   458: ifeq +12 -> 470
    //   461: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   464: ldc_w 671
    //   467: invokevirtual 194	com/tencent/stat/common/StatLogger:i	(Ljava/lang/Object;)V
    //   470: aload_0
    //   471: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   474: invokevirtual 478	com/tencent/stat/be:getReadableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   477: ldc_w 673
    //   480: aconst_null
    //   481: aconst_null
    //   482: aconst_null
    //   483: aconst_null
    //   484: aconst_null
    //   485: aconst_null
    //   486: aconst_null
    //   487: invokevirtual 526	android/database/sqlite/SQLiteDatabase:query	(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    //   490: astore 11
    //   492: iconst_0
    //   493: istore_2
    //   494: aload 11
    //   496: invokeinterface 489 1 0
    //   501: ifeq +376 -> 877
    //   504: aload 11
    //   506: iconst_0
    //   507: invokeinterface 533 2 0
    //   512: astore 16
    //   514: aload 16
    //   516: invokestatic 538	com/tencent/stat/common/Util:decode	(Ljava/lang/String;)Ljava/lang/String;
    //   519: astore 12
    //   521: aload 11
    //   523: iconst_1
    //   524: invokeinterface 493 2 0
    //   529: istore 5
    //   531: aload 11
    //   533: iconst_2
    //   534: invokeinterface 533 2 0
    //   539: astore 10
    //   541: aload 11
    //   543: iconst_3
    //   544: invokeinterface 530 2 0
    //   549: lstore 6
    //   551: invokestatic 637	java/lang/System:currentTimeMillis	()J
    //   554: ldc2_w 638
    //   557: ldiv
    //   558: lstore 8
    //   560: iload 5
    //   562: iconst_1
    //   563: if_icmpeq +767 -> 1330
    //   566: lload 6
    //   568: ldc2_w 638
    //   571: lmul
    //   572: invokestatic 642	com/tencent/stat/common/StatCommonHelper:getDateFormat	(J)Ljava/lang/String;
    //   575: ldc2_w 638
    //   578: lload 8
    //   580: lmul
    //   581: invokestatic 642	com/tencent/stat/common/StatCommonHelper:getDateFormat	(J)Ljava/lang/String;
    //   584: invokevirtual 645	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   587: ifne +743 -> 1330
    //   590: iconst_1
    //   591: istore_2
    //   592: iload_2
    //   593: istore_3
    //   594: aload 10
    //   596: aload_1
    //   597: invokestatic 241	com/tencent/stat/common/StatCommonHelper:getAppVersion	(Landroid/content/Context;)Ljava/lang/String;
    //   600: invokevirtual 645	java/lang/String:equals	(Ljava/lang/Object;)Z
    //   603: ifne +7 -> 610
    //   606: iload_2
    //   607: iconst_2
    //   608: ior
    //   609: istore_3
    //   610: aload 12
    //   612: ldc 172
    //   614: invokevirtual 649	java/lang/String:split	(Ljava/lang/String;)[Ljava/lang/String;
    //   617: astore 14
    //   619: iconst_0
    //   620: istore 4
    //   622: iconst_0
    //   623: istore_2
    //   624: aload 14
    //   626: ifnull +473 -> 1099
    //   629: aload 14
    //   631: arraylength
    //   632: ifle +467 -> 1099
    //   635: aload 14
    //   637: iconst_0
    //   638: aaload
    //   639: astore 10
    //   641: aload 10
    //   643: ifnull +13 -> 656
    //   646: aload 10
    //   648: invokevirtual 652	java/lang/String:length	()I
    //   651: bipush 11
    //   653: if_icmpge +662 -> 1315
    //   656: aload_1
    //   657: invokestatic 655	com/tencent/stat/common/Util:getDeviceID	(Landroid/content/Context;)Ljava/lang/String;
    //   660: astore 13
    //   662: aload 13
    //   664: ifnull +645 -> 1309
    //   667: aload 13
    //   669: invokevirtual 652	java/lang/String:length	()I
    //   672: bipush 10
    //   674: if_icmple +635 -> 1309
    //   677: iconst_1
    //   678: istore_2
    //   679: aload 13
    //   681: astore 10
    //   683: goto +696 -> 1379
    //   686: aload 14
    //   688: ifnull +426 -> 1114
    //   691: aload 14
    //   693: arraylength
    //   694: iconst_2
    //   695: if_icmplt +419 -> 1114
    //   698: aload 14
    //   700: iconst_1
    //   701: aaload
    //   702: astore 14
    //   704: new 95	java/lang/StringBuilder
    //   707: dup
    //   708: invokespecial 656	java/lang/StringBuilder:<init>	()V
    //   711: aload 12
    //   713: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   716: ldc 172
    //   718: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   721: aload 14
    //   723: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   726: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   729: astore 13
    //   731: iload_2
    //   732: istore 4
    //   734: aload_0
    //   735: new 658	com/tencent/stat/common/DeviceInfo
    //   738: dup
    //   739: aload 12
    //   741: aload 14
    //   743: iload_3
    //   744: invokespecial 661	com/tencent/stat/common/DeviceInfo:<init>	(Ljava/lang/String;Ljava/lang/String;I)V
    //   747: putfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   750: new 296	android/content/ContentValues
    //   753: dup
    //   754: invokespecial 297	android/content/ContentValues:<init>	()V
    //   757: astore 10
    //   759: aload 13
    //   761: invokestatic 310	com/tencent/stat/common/Util:encode	(Ljava/lang/String;)Ljava/lang/String;
    //   764: astore 12
    //   766: aload 10
    //   768: ldc 222
    //   770: aload 12
    //   772: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   775: aload 10
    //   777: ldc 232
    //   779: iload_3
    //   780: invokestatic 404	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   783: invokevirtual 407	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Integer;)V
    //   786: aload 10
    //   788: ldc 238
    //   790: aload_1
    //   791: invokestatic 241	com/tencent/stat/common/StatCommonHelper:getAppVersion	(Landroid/content/Context;)Ljava/lang/String;
    //   794: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   797: aload 10
    //   799: ldc 243
    //   801: lload 8
    //   803: invokestatic 336	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   806: invokevirtual 339	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Long;)V
    //   809: iload 4
    //   811: ifeq +31 -> 842
    //   814: aload_0
    //   815: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   818: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   821: ldc_w 673
    //   824: aload 10
    //   826: ldc_w 675
    //   829: iconst_1
    //   830: anewarray 411	java/lang/String
    //   833: dup
    //   834: iconst_0
    //   835: aload 16
    //   837: aastore
    //   838: invokevirtual 420	android/database/sqlite/SQLiteDatabase:update	(Ljava/lang/String;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)I
    //   841: pop
    //   842: iload_3
    //   843: iload 5
    //   845: if_icmpeq +20 -> 865
    //   848: aload_0
    //   849: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   852: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   855: ldc_w 673
    //   858: aconst_null
    //   859: aload 10
    //   861: invokevirtual 678	android/database/sqlite/SQLiteDatabase:replace	(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
    //   864: pop2
    //   865: aload_0
    //   866: aload_1
    //   867: aload 12
    //   869: iload_3
    //   870: lload 8
    //   872: invokespecial 663	com/tencent/stat/aw:a	(Landroid/content/Context;Ljava/lang/String;IJ)V
    //   875: iconst_1
    //   876: istore_2
    //   877: iload_2
    //   878: ifne +170 -> 1048
    //   881: aload_1
    //   882: invokestatic 666	com/tencent/stat/common/StatCommonHelper:getUserID	(Landroid/content/Context;)Ljava/lang/String;
    //   885: astore 12
    //   887: aload_1
    //   888: invokestatic 669	com/tencent/stat/common/StatCommonHelper:getMacId	(Landroid/content/Context;)Ljava/lang/String;
    //   891: astore 13
    //   893: aload 13
    //   895: ifnull +407 -> 1302
    //   898: aload 13
    //   900: invokevirtual 652	java/lang/String:length	()I
    //   903: ifle +399 -> 1302
    //   906: new 95	java/lang/StringBuilder
    //   909: dup
    //   910: invokespecial 656	java/lang/StringBuilder:<init>	()V
    //   913: aload 12
    //   915: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   918: ldc 172
    //   920: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   923: aload 13
    //   925: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   928: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   931: astore 10
    //   933: invokestatic 637	java/lang/System:currentTimeMillis	()J
    //   936: ldc2_w 638
    //   939: ldiv
    //   940: lstore 6
    //   942: aload_1
    //   943: invokestatic 241	com/tencent/stat/common/StatCommonHelper:getAppVersion	(Landroid/content/Context;)Ljava/lang/String;
    //   946: astore 14
    //   948: new 296	android/content/ContentValues
    //   951: dup
    //   952: invokespecial 297	android/content/ContentValues:<init>	()V
    //   955: astore 15
    //   957: aload 10
    //   959: invokestatic 310	com/tencent/stat/common/Util:encode	(Ljava/lang/String;)Ljava/lang/String;
    //   962: astore 10
    //   964: aload 15
    //   966: ldc 222
    //   968: aload 10
    //   970: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   973: aload 15
    //   975: ldc 232
    //   977: iconst_0
    //   978: invokestatic 404	java/lang/Integer:valueOf	(I)Ljava/lang/Integer;
    //   981: invokevirtual 407	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Integer;)V
    //   984: aload 15
    //   986: ldc 238
    //   988: aload 14
    //   990: invokevirtual 314	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/String;)V
    //   993: aload 15
    //   995: ldc 243
    //   997: lload 6
    //   999: invokestatic 336	java/lang/Long:valueOf	(J)Ljava/lang/Long;
    //   1002: invokevirtual 339	android/content/ContentValues:put	(Ljava/lang/String;Ljava/lang/Long;)V
    //   1005: aload_0
    //   1006: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   1009: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   1012: ldc_w 673
    //   1015: aconst_null
    //   1016: aload 15
    //   1018: invokevirtual 343	android/database/sqlite/SQLiteDatabase:insert	(Ljava/lang/String;Ljava/lang/String;Landroid/content/ContentValues;)J
    //   1021: pop2
    //   1022: aload_0
    //   1023: aload_1
    //   1024: aload 10
    //   1026: iconst_0
    //   1027: lload 6
    //   1029: invokespecial 663	com/tencent/stat/aw:a	(Landroid/content/Context;Ljava/lang/String;IJ)V
    //   1032: aload_0
    //   1033: new 658	com/tencent/stat/common/DeviceInfo
    //   1036: dup
    //   1037: aload 12
    //   1039: aload 13
    //   1041: iconst_0
    //   1042: invokespecial 661	com/tencent/stat/common/DeviceInfo:<init>	(Ljava/lang/String;Ljava/lang/String;I)V
    //   1045: putfield 66	com/tencent/stat/aw:b	Lcom/tencent/stat/common/DeviceInfo;
    //   1048: aload_0
    //   1049: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   1052: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   1055: invokevirtual 346	android/database/sqlite/SQLiteDatabase:setTransactionSuccessful	()V
    //   1058: aload 11
    //   1060: ifnull +10 -> 1070
    //   1063: aload 11
    //   1065: invokeinterface 501 1 0
    //   1070: aload_0
    //   1071: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   1074: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   1077: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   1080: goto -736 -> 344
    //   1083: astore_1
    //   1084: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   1087: aload_1
    //   1088: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   1091: goto -747 -> 344
    //   1094: astore_1
    //   1095: aload_0
    //   1096: monitorexit
    //   1097: aload_1
    //   1098: athrow
    //   1099: aload_1
    //   1100: invokestatic 666	com/tencent/stat/common/StatCommonHelper:getUserID	(Landroid/content/Context;)Ljava/lang/String;
    //   1103: astore 10
    //   1105: iconst_1
    //   1106: istore_2
    //   1107: aload 10
    //   1109: astore 12
    //   1111: goto -425 -> 686
    //   1114: aload_1
    //   1115: invokestatic 669	com/tencent/stat/common/StatCommonHelper:getMacId	(Landroid/content/Context;)Ljava/lang/String;
    //   1118: astore 15
    //   1120: iload_2
    //   1121: istore 4
    //   1123: aload 15
    //   1125: astore 14
    //   1127: aload 10
    //   1129: astore 13
    //   1131: aload 15
    //   1133: ifnull -399 -> 734
    //   1136: iload_2
    //   1137: istore 4
    //   1139: aload 15
    //   1141: astore 14
    //   1143: aload 10
    //   1145: astore 13
    //   1147: aload 15
    //   1149: invokevirtual 652	java/lang/String:length	()I
    //   1152: ifle -418 -> 734
    //   1155: new 95	java/lang/StringBuilder
    //   1158: dup
    //   1159: invokespecial 656	java/lang/StringBuilder:<init>	()V
    //   1162: aload 12
    //   1164: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1167: ldc 172
    //   1169: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1172: aload 15
    //   1174: invokevirtual 104	java/lang/StringBuilder:append	(Ljava/lang/String;)Ljava/lang/StringBuilder;
    //   1177: invokevirtual 108	java/lang/StringBuilder:toString	()Ljava/lang/String;
    //   1180: astore 13
    //   1182: iconst_1
    //   1183: istore 4
    //   1185: aload 15
    //   1187: astore 14
    //   1189: goto -455 -> 734
    //   1192: astore 10
    //   1194: aconst_null
    //   1195: astore_1
    //   1196: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   1199: aload 10
    //   1201: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   1204: aload_1
    //   1205: ifnull +9 -> 1214
    //   1208: aload_1
    //   1209: invokeinterface 501 1 0
    //   1214: aload_0
    //   1215: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   1218: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   1221: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   1224: goto -880 -> 344
    //   1227: astore_1
    //   1228: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   1231: aload_1
    //   1232: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   1235: goto -891 -> 344
    //   1238: astore_1
    //   1239: aconst_null
    //   1240: astore 11
    //   1242: aload 11
    //   1244: ifnull +10 -> 1254
    //   1247: aload 11
    //   1249: invokeinterface 501 1 0
    //   1254: aload_0
    //   1255: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   1258: invokevirtual 286	com/tencent/stat/be:getWritableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   1261: invokevirtual 349	android/database/sqlite/SQLiteDatabase:endTransaction	()V
    //   1264: aload_1
    //   1265: athrow
    //   1266: astore 10
    //   1268: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   1271: aload 10
    //   1273: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   1276: goto -12 -> 1264
    //   1279: astore_1
    //   1280: goto -38 -> 1242
    //   1283: astore 10
    //   1285: aload_1
    //   1286: astore 11
    //   1288: aload 10
    //   1290: astore_1
    //   1291: goto -49 -> 1242
    //   1294: astore 10
    //   1296: aload 11
    //   1298: astore_1
    //   1299: goto -103 -> 1196
    //   1302: aload 12
    //   1304: astore 10
    //   1306: goto -373 -> 933
    //   1309: iload 4
    //   1311: istore_2
    //   1312: goto +67 -> 1379
    //   1315: aload 10
    //   1317: astore 13
    //   1319: aload 12
    //   1321: astore 10
    //   1323: aload 13
    //   1325: astore 12
    //   1327: goto -641 -> 686
    //   1330: iload 5
    //   1332: istore_2
    //   1333: goto -741 -> 592
    //   1336: iconst_0
    //   1337: istore_2
    //   1338: goto +26 -> 1364
    //   1341: iconst_0
    //   1342: istore_2
    //   1343: aload 10
    //   1345: astore 12
    //   1347: aload 11
    //   1349: astore 10
    //   1351: aload 12
    //   1353: astore 11
    //   1355: goto -1123 -> 232
    //   1358: iload 5
    //   1360: istore_2
    //   1361: goto -1218 -> 143
    //   1364: aload 10
    //   1366: astore 12
    //   1368: aload 11
    //   1370: astore 10
    //   1372: aload 12
    //   1374: astore 11
    //   1376: goto -1144 -> 232
    //   1379: aload 10
    //   1381: astore 13
    //   1383: aload 12
    //   1385: astore 10
    //   1387: aload 13
    //   1389: astore 12
    //   1391: goto -705 -> 686
    //
    // Exception table:
    //   from	to	target	type
    //   1063	1070	1083	java/lang/Throwable
    //   1070	1080	1083	java/lang/Throwable
    //   2	14	1094	finally
    //   18	41	1094	finally
    //   41	111	1094	finally
    //   117	141	1094	finally
    //   145	157	1094	finally
    //   161	170	1094	finally
    //   175	181	1094	finally
    //   192	202	1094	finally
    //   202	208	1094	finally
    //   213	223	1094	finally
    //   237	244	1094	finally
    //   250	277	1094	finally
    //   280	303	1094	finally
    //   308	328	1094	finally
    //   334	344	1094	finally
    //   344	349	1094	finally
    //   352	358	1094	finally
    //   367	373	1094	finally
    //   400	435	1094	finally
    //   1063	1070	1094	finally
    //   1070	1080	1094	finally
    //   1084	1091	1094	finally
    //   1208	1214	1094	finally
    //   1214	1224	1094	finally
    //   1228	1235	1094	finally
    //   1247	1254	1094	finally
    //   1254	1264	1094	finally
    //   1264	1266	1094	finally
    //   1268	1276	1094	finally
    //   445	470	1192	java/lang/Throwable
    //   470	492	1192	java/lang/Throwable
    //   1208	1214	1227	java/lang/Throwable
    //   1214	1224	1227	java/lang/Throwable
    //   445	470	1238	finally
    //   470	492	1238	finally
    //   1247	1254	1266	java/lang/Throwable
    //   1254	1264	1266	java/lang/Throwable
    //   494	560	1279	finally
    //   566	590	1279	finally
    //   594	606	1279	finally
    //   610	619	1279	finally
    //   629	635	1279	finally
    //   646	656	1279	finally
    //   656	662	1279	finally
    //   667	677	1279	finally
    //   691	698	1279	finally
    //   704	731	1279	finally
    //   734	809	1279	finally
    //   814	842	1279	finally
    //   848	865	1279	finally
    //   865	875	1279	finally
    //   881	893	1279	finally
    //   898	933	1279	finally
    //   933	1048	1279	finally
    //   1048	1058	1279	finally
    //   1099	1105	1279	finally
    //   1114	1120	1279	finally
    //   1147	1182	1279	finally
    //   1196	1204	1283	finally
    //   494	560	1294	java/lang/Throwable
    //   566	590	1294	java/lang/Throwable
    //   594	606	1294	java/lang/Throwable
    //   610	619	1294	java/lang/Throwable
    //   629	635	1294	java/lang/Throwable
    //   646	656	1294	java/lang/Throwable
    //   656	662	1294	java/lang/Throwable
    //   667	677	1294	java/lang/Throwable
    //   691	698	1294	java/lang/Throwable
    //   704	731	1294	java/lang/Throwable
    //   734	809	1294	java/lang/Throwable
    //   814	842	1294	java/lang/Throwable
    //   848	865	1294	java/lang/Throwable
    //   865	875	1294	java/lang/Throwable
    //   881	893	1294	java/lang/Throwable
    //   898	933	1294	java/lang/Throwable
    //   933	1048	1294	java/lang/Throwable
    //   1048	1058	1294	java/lang/Throwable
    //   1099	1105	1294	java/lang/Throwable
    //   1114	1120	1294	java/lang/Throwable
    //   1147	1182	1294	java/lang/Throwable
  }

  void c()
  {
    if (!(StatConfig.isEnableStatService()))
      return;
    try
    {
      this.e.a(new az(this));
      return;
    }
    catch (Throwable localThrowable)
    {
      h.e(localThrowable);
    }
  }

  // ERROR //
  void d()
  {
    // Byte code:
    //   0: aload_0
    //   1: getfield 52	com/tencent/stat/aw:c	Lcom/tencent/stat/be;
    //   4: invokevirtual 478	com/tencent/stat/be:getReadableDatabase	()Landroid/database/sqlite/SQLiteDatabase;
    //   7: ldc_w 480
    //   10: aconst_null
    //   11: aconst_null
    //   12: aconst_null
    //   13: aconst_null
    //   14: aconst_null
    //   15: aconst_null
    //   16: invokevirtual 484	android/database/sqlite/SQLiteDatabase:query	(Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;[Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Landroid/database/Cursor;
    //   19: astore 4
    //   21: aload 4
    //   23: astore_3
    //   24: aload 4
    //   26: invokeinterface 489 1 0
    //   31: ifeq +151 -> 182
    //   34: aload 4
    //   36: astore_3
    //   37: aload 4
    //   39: iconst_0
    //   40: invokeinterface 493 2 0
    //   45: istore_1
    //   46: aload 4
    //   48: astore_3
    //   49: aload 4
    //   51: iconst_1
    //   52: invokeinterface 533 2 0
    //   57: astore 5
    //   59: aload 4
    //   61: astore_3
    //   62: aload 4
    //   64: iconst_2
    //   65: invokeinterface 533 2 0
    //   70: astore 6
    //   72: aload 4
    //   74: astore_3
    //   75: aload 4
    //   77: iconst_3
    //   78: invokeinterface 493 2 0
    //   83: istore_2
    //   84: aload 4
    //   86: astore_3
    //   87: new 457	com/tencent/stat/e
    //   90: dup
    //   91: iload_1
    //   92: invokespecial 686	com/tencent/stat/e:<init>	(I)V
    //   95: astore 7
    //   97: aload 4
    //   99: astore_3
    //   100: aload 7
    //   102: iload_1
    //   103: putfield 494	com/tencent/stat/e:a	I
    //   106: aload 4
    //   108: astore_3
    //   109: aload 7
    //   111: new 467	org/json/JSONObject
    //   114: dup
    //   115: aload 5
    //   117: invokespecial 687	org/json/JSONObject:<init>	(Ljava/lang/String;)V
    //   120: putfield 465	com/tencent/stat/e:b	Lorg/json/JSONObject;
    //   123: aload 4
    //   125: astore_3
    //   126: aload 7
    //   128: aload 6
    //   130: putfield 471	com/tencent/stat/e:c	Ljava/lang/String;
    //   133: aload 4
    //   135: astore_3
    //   136: aload 7
    //   138: iload_2
    //   139: putfield 475	com/tencent/stat/e:d	I
    //   142: aload 4
    //   144: astore_3
    //   145: getstatic 41	com/tencent/stat/aw:i	Landroid/content/Context;
    //   148: aload 7
    //   150: invokestatic 690	com/tencent/stat/StatConfig:a	(Landroid/content/Context;Lcom/tencent/stat/e;)V
    //   153: goto -132 -> 21
    //   156: astore 5
    //   158: aload 4
    //   160: astore_3
    //   161: getstatic 39	com/tencent/stat/aw:h	Lcom/tencent/stat/common/StatLogger;
    //   164: aload 5
    //   166: invokevirtual 130	com/tencent/stat/common/StatLogger:e	(Ljava/lang/Throwable;)V
    //   169: aload 4
    //   171: ifnull +10 -> 181
    //   174: aload 4
    //   176: invokeinterface 501 1 0
    //   181: return
    //   182: aload 4
    //   184: ifnull -3 -> 181
    //   187: aload 4
    //   189: invokeinterface 501 1 0
    //   194: return
    //   195: astore 4
    //   197: aconst_null
    //   198: astore_3
    //   199: aload_3
    //   200: ifnull +9 -> 209
    //   203: aload_3
    //   204: invokeinterface 501 1 0
    //   209: aload 4
    //   211: athrow
    //   212: astore 4
    //   214: goto -15 -> 199
    //   217: astore 5
    //   219: aconst_null
    //   220: astore 4
    //   222: goto -64 -> 158
    //
    // Exception table:
    //   from	to	target	type
    //   24	34	156	java/lang/Throwable
    //   37	46	156	java/lang/Throwable
    //   49	59	156	java/lang/Throwable
    //   62	72	156	java/lang/Throwable
    //   75	84	156	java/lang/Throwable
    //   87	97	156	java/lang/Throwable
    //   100	106	156	java/lang/Throwable
    //   109	123	156	java/lang/Throwable
    //   126	133	156	java/lang/Throwable
    //   136	142	156	java/lang/Throwable
    //   145	153	156	java/lang/Throwable
    //   0	21	195	finally
    //   24	34	212	finally
    //   37	46	212	finally
    //   49	59	212	finally
    //   62	72	212	finally
    //   75	84	212	finally
    //   87	97	212	finally
    //   100	106	212	finally
    //   109	123	212	finally
    //   126	133	212	finally
    //   136	142	212	finally
    //   145	153	212	finally
    //   161	169	212	finally
    //   0	21	217	java/lang/Throwable
  }
}